package org.sbbs.base.pager;

public enum SortOrder {
	DESCENDING(1, "descending", "desc"), ASCENDING(2, "ascending", "asc");
	private int index;
	private String name;
	private String value;

	private SortOrder(int code, String name, String value) {
		this.index = code;
		this.name = name;
		this.value = value;
	}

	public int getIndex() {
		return index;
	}

	public String getName() {
		return name;
	}

	public String getValue() {
		return value;
	}

}
